import User from "./User";
import Article from "./Article";
import Img from "./Img";
import Comment from "./Comment";
Comment;
Img;
User;
Article;
import { a } from "./relationship";
a;
import sequelize from "../db/db";
import { isHttps } from "../config";

sequelize.sync({ alter: true }).then(() => {
  console.log("模型同步完成");
  console.log(`http${isHttps ? "s" : ""}://127.0.0.1`);
  console.log(`http${isHttps ? "s" : ""}://192.1.1.109`);
  console.log(`http${isHttps ? "s" : ""}://59.10.110.108`);
  console.log(`http${isHttps ? "s" : ""}://www.feifan.life`);
});
